package com.ys.utils.base.j2se;


public class PropertyField
{
  private Object instance;
  private PropertyFieldDescriptor desc;

  public PropertyFieldDescriptor getDesc()
  {
    return this.desc;
  }

  public void setInstance(Object instance) {
    this.instance = instance;
  }

  public void setDesc(PropertyFieldDescriptor desc) {
    this.desc = desc;
  }

  public Object getInstance() {
    return this.instance; }

  public Object get() {
    return this.desc.get(this.instance); }

  public void set(Object value) {
    this.desc.set(this.instance, value);
  }
}